package com.bdth.weget.business.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by Administrator on 2019/7/16.
 */
@TableName("bs_status")
public class Status implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Integer carid;
    private String simno;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updatetime;
    private int acc;
    private int location;
    private int latns;
    private int longew;
    private int work;
    private int mdll;
    private int oilway;
    private int eleway;
    private int doorlock;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCarid() {
        return carid;
    }

    public void setCarid(Integer carid) {
        this.carid = carid;
    }

    public String getSimno() {
        return simno;
    }

    public void setSimno(String simno) {
        this.simno = simno;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public int getAcc() {
        return acc;
    }

    public void setAcc(int acc) {
        this.acc = acc;
    }

    public int getLocation() {
        return location;
    }

    public void setLocation(int location) {
        this.location = location;
    }

    public int getLatns() {
        return latns;
    }

    public void setLatns(int latns) {
        this.latns = latns;
    }

    public int getLongew() {
        return longew;
    }

    public void setLongew(int longew) {
        this.longew = longew;
    }

    public int getWork() {
        return work;
    }

    public void setWork(int work) {
        this.work = work;
    }

    public int getMdll() {
        return mdll;
    }

    public void setMdll(int mdll) {
        this.mdll = mdll;
    }

    public int getOilway() {
        return oilway;
    }

    public void setOilway(int oilway) {
        this.oilway = oilway;
    }

    public int getEleway() {
        return eleway;
    }

    public void setEleway(int eleway) {
        this.eleway = eleway;
    }

    public int getDoorlock() {
        return doorlock;
    }

    public void setDoorlock(int doorlock) {
        this.doorlock = doorlock;
    }
}
